package com.project.mvprxsample.bean;

import com.google.gson.annotations.SerializedName;

/**
 * 基础类
 * @param <T>
 */
public class BaseResult<T> {
    @SerializedName("statusCode")
    int statusCode;
    @SerializedName("message")
    String message;
    @SerializedName("data")
    T data;

    public int getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(int statusCode) {
        this.statusCode = statusCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
